package cn.iocoder.yudao.module.system.dal.dto;

import cn.iocoder.yudao.module.system.enums.DeleteStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.Instant;

/**
 * @author: xin
 * @Date: 2023/10/30 11:42
 * @description <功能描述>
 */
@Data
public class BaseDto {

    @Schema(description = "当前页")
    private Integer page;

    @Schema(description = "页记录数")
    private Integer size;

    /**
     * 删除状态 0:未删除 1:已删除
     */
    @Schema(description = "删除状态 0:未删除 1:已删除")
    private DeleteStatus deleteStatus;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Instant createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Instant updateTime;

    @Schema(description = "默认头像")
    private String defaultHeadImage;

    @Schema(description = "默认名称")
    private String defaultName;
}
